package com.mifengkong.greendao.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by jack on 2017/9/19
 */

@Entity
public class VersionInfo {

    @Id(autoincrement = true)
    private Long id;

    @Property(nameInDb = "NEED_UPDATE")
    private String need_update;

    @Property(nameInDb = "DOWNLOAD_URL")
    private String download_url;

    @Property(nameInDb = "FORCE_UPDATE")
    private String force_update;

    @Property(nameInDb = "VERSION_INFO")
    private String version_info;

    @Property(nameInDb = "NEW_VERSION")
    private String new_version;

    @Property(nameInDb = "VERSION_TITLE")
    private String version_title;

    public VersionInfo(String need_update, String download_url,
                       String force_update, String version_info, String new_version,
                       String version_title) {
        this.need_update = need_update;
        this.download_url = download_url;
        this.force_update = force_update;
        this.version_info = version_info;
        this.new_version = new_version;
        this.version_title = version_title;
    }

    @Generated(hash = 970988956)
    public VersionInfo(Long id, String need_update, String download_url,
            String force_update, String version_info, String new_version,
            String version_title) {
        this.id = id;
        this.need_update = need_update;
        this.download_url = download_url;
        this.force_update = force_update;
        this.version_info = version_info;
        this.new_version = new_version;
        this.version_title = version_title;
    }

    @Generated(hash = 2119036008)
    public VersionInfo() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNeed_update() {
        return this.need_update;
    }

    public void setNeed_update(String need_update) {
        this.need_update = need_update;
    }

    public String getDownload_url() {
        return this.download_url;
    }

    public void setDownload_url(String download_url) {
        this.download_url = download_url;
    }

    public String getForce_update() {
        return this.force_update;
    }

    public void setForce_update(String force_update) {
        this.force_update = force_update;
    }

    public String getVersion_info() {
        return this.version_info;
    }

    public void setVersion_info(String version_info) {
        this.version_info = version_info;
    }

    public String getNew_version() {
        return this.new_version;
    }

    public void setNew_version(String new_version) {
        this.new_version = new_version;
    }

    public String getVersion_title() {
        return this.version_title;
    }

    public void setVersion_title(String version_title) {
        this.version_title = version_title;
    }

}
